import axios from 'axios'

// 获取文章管理数据
export function getLibrary(Manage) {
  return axios.get('/library', {
    params: Manage
  })
}

// 获取图书管理列表
export function getbooks(query) {
  return axios.get('/books', {
    params: query
  })
}

// 获取数据文库分类
export function getclassify(lassify) {
  return axios.get('/libraries/classify', {
    params: lassify
  })
}

export function getClassification(query) {
  return axios.get('/book/classify', {
    params: query
  })
}
